package com.szu.smart_illustrator.mapper;

import com.github.yulichang.base.MPJBaseMapper;
import com.szu.smart_illustrator.entity.Picture;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 
 * @since 2023-11-23
 */

@Mapper
public interface PictureMapper extends MPJBaseMapper<Picture> {
void updateAll(List<Picture> list);
List<Picture> getPictureByAuthorName( @Param("authorName") String authorName);

}
